package com.lc.afbx.activity;

import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

import com.lc.afbx.BaseApplication;
import com.lc.afbx.R;

/**
 * Created by Administrator on 2016/3/14.
 */
public class WelcomeActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_welcome);

        new Handler(){

            @Override
            public void handleMessage(Message msg) {

                startVerifyActivity(BaseApplication.BasePreferences.readIsGuide() ? NavigationActivity.class : GuideActivity.class);

                finish();

            }

        }.sendEmptyMessageDelayed(0,3000);

    }

}
